package com.sugar.persistence.oa.hr;

import java.util.LinkedHashMap;
import java.util.List;

import com.sugar.base.query.PageModel;
import com.sugar.domain.oa.hr.EmpAccount;

public interface IEmpAccount {

	public void saveEmpAccountDao(EmpAccount account) throws RuntimeException ;
	
	public void deleteEmpAccountDao(EmpAccount account) throws RuntimeException ;
	
	public void updateEmpAccountDao(EmpAccount account) throws RuntimeException ;
	
	public EmpAccount loadEmpAccountByIdDao(int id) throws RuntimeException ;
	
	public EmpAccount findEmpAccountByParamDao(String queryString,String whereString,Object[] param) throws RuntimeException ;
	
	public List<EmpAccount> findEmpAccountDao(String queryString,String whereStr,Object[] param,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	public PageModel<EmpAccount> getScorllEmpAccountDao(String queryString,String whereStr,Object[] param,int firstPage,int pageSize,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	
	
}
